package com.hushui.mall.commodity.feign;

import com.hushui.common.to.es.SkuEsModel;
import com.hushui.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author 胡泽明
 * @date 2023/3/22
 */
@FeignClient("studyMall-search")
public interface SearchFeignServic {
    @PostMapping("search/save/product")
    public R productUp(@RequestBody List<SkuEsModel> skuEsModelList);
}
